package com.fbli.test.mapper;

import com.fbli.test.entity.Tool;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
@Mapper
public interface ToolMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Tool record);

    Tool selectByPrimaryKey(Long id);

    List<Tool> selectAll();

    int updateByPrimaryKey(Tool record);
}